﻿
using Ekton_Manage_DomainCore.Aggregate;
using Ekton_Manage_DTO.RequestModels.Product;
using Ekton_Manage_InfrastructureCore.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ekton_Manage_IBusiness
{
    public interface IApiSelectProduct
    {
        /// <summary>
        /// 产品
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<Message> ApiGetProductList();

        /// <summary>
        /// 根据产品id查询产品信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<Message> ApiIdGetProductList(int id);

        /// <summary>
        /// 选择设计规格
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<Message>  ApiIdGetdesign(int id);
    }
}
